widget: Fix copy&paste error when creating debug nodes
authorTimm Bäder <mail@baedert.org>
Tue, 4 Jul 2017 12:59:02 +0000 (14:59 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 20 Jul 2017 01:27:15 +0000 (21:27 -0400)
gtk/gtkwidget.c

index d967b8d01cec4038143a678627ac5478ec212bf0..bc716c3fe62233e10a13389deaa3df375b82a1de 100644 (file)
@@ -15165,7 +15165,7 @@ gtk_widget_maybe_add_debug_render_nodes (GtkWidget             *widget,
 
       graphene_rect_init (&bounds,
                           priv->allocation.width - margin.right, margin.top,
-                          margin.left, priv->allocation.height - margin.top - margin.bottom);
+                          margin.right, priv->allocation.height - margin.top - margin.bottom);
       gtk_snapshot_append_color (snapshot, &margin_color, &bounds, "Margin right");